package com.ruben.vistor.example.insurance;

/**
 * 卖保险
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/7/18 15:55
 */
public class SellInsurance {

    public static void main(String[] args) {
        InsuranceSeller insuranceSeller = new InsuranceSeller();
        Building residentialBuilding = new ResidentialBuilding("碧桂园");
        residentialBuilding.beVisited(insuranceSeller);
        Building bank = new Bank("农业银行");
        bank.beVisited(insuranceSeller);
        Building coffeeShop = new CoffeeShop("瑞幸咖啡");
        coffeeShop.beVisited(insuranceSeller);
    }

}
